Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ignore_thread_creation to PrefixFrameworkOptions #211

Merged
merged 1 commit into from
Oct 22, 2023

Conversation

seraxis
Copy link
Contributor

@seraxis seraxis commented Oct 22, 2023

When a new thread is created the title can be parsed as if it were a prefix command invocation from a regular message, this adds an option to PrefixFrameworkOptions to ignore these accidental command invocations by default while preserving old behaviour if desired.

@kangalio
Copy link
Collaborator

Immaculate PR

@kangalio kangalio merged commit bf3294d into serenity-rs:current Oct 22, 2023
12 checks passed
@seraxis seraxis deleted the ignore-thread-prefix branch October 22, 2023 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants